package com.example.user.service;

import com.example.common.core.domain.R;
import com.example.common.core.domain.vo.LoginUserVO;
import com.example.user.domain.teacher.dto.TeacherSaveDTO;
import com.example.user.domain.teacher.vo.TeacherDetailVO;

public interface ITeacherService {
    R<String> login(String email, String password);

    R<LoginUserVO> info(String token);

    R<TeacherDetailVO> detail(String token);

    int edit(TeacherSaveDTO teacherEditDTO);

    boolean logout(String token);

    int updateHeadImage(String headImage);
}
